home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Complete Work of Mahatma Gandhi
/
The Complete Work of Mahatma Gandhi-CD interactive.iso
/
pc
/
ganmac
/
eb.cst
/
00119_Script_video 1
< prev
next >
Wrap
Text File
|
1999-05-31
|
2KB
|
67 lines
on exitFrame
-- Video 1
global gwhere, pv
-- if pv > 0 then set the movieTime of sprite 6 to gwhere
global mainframe, gvolume, pv, gwhere
if pv < 2 then
set the movieRate of sprite 6 to 1
set the membernum of sprite 101 to the number of member "stop" of castlib "eb.cst"
end if
set mainframe to the framelabel
set the soundEnabled to true
set the volume of sprite 6 to gvolume
if pv = 0 then set the movieRate of sprite 6 to 1
set gwhere to 0
set pv to 0
end
on enterframe
global chaspcursor,handcur, gloson, pv
set handcur to [the number of cast "HC1",the number of cast "HC2"]
SET THE CURSOR OF SPRITE 98 TO HANDCUR
SET THE CURSOR OF SPRITE 6 TO -1
-- CHASPCURSOR HANDCUR,55,57
CHASPCURSOR HANDCUR,100,102
CHASPCURSOR HANDCUR,109,120
global cspname,cspchannel
if (gloson=1) and (the visible of window "gloss" = false) then
set yy to chars(cspname,1,1)
set the memberNum of sprite 115 to the number of member (yy&"glos") of castLib "eb.cst"
set gloson to 0
end if
set xx to chars(cspname,1,1)
set cspname to xx&"vido"
set cspchannel to 111
end
on prepareFrame
set the movieRate of sprite 6 to 0
set the visible of sprite 105 to false
set the ink of sprite 105 to 1
updateStage
set the visible of sprite 105 to true
set the ink of sprite 105 to 0
-- updateStage
global gwpage, gvolume, gwhere, pv
set the memberNum of sprite 70 to the number of member ("int"&gwpage)
if pv > 0 then
set the movieTime of sprite 6 to gwhere
else
set the movieTime of sprite 6 to 0
end if
-- updatestage
end